package com.lightbook.service.impl;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lightbook.mapper.UserMapper;
import com.lightbook.pojo.User;
import com.lightbook.service.UserService;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {
    @Override
    public IPage<User> selectPage(Page<Object> pageParam, String userNameVo) {
        IPage<User> pageModel = baseMapper.selectPage(pageParam, userNameVo);
        return pageModel;
    }
}
